xen.git
19 years ago[MINIOS] Added a new file arc/x86/setup.c and moved some x86 specific
kfraser@localhost.localdomain [Sat, 23 Sep 2006 13:00:38 +0000 (14:00 +0100)]
[MINIOS] Added a new file arc/x86/setup.c and moved some x86 specific
initialization stuff from kernel.c there. Two new functions are added
to handle this.

Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
19 years ago[QEMU] Fix build on some distros (e.g., FC6T3).
kfraser@localhost.localdomain [Sat, 23 Sep 2006 12:57:55 +0000 (13:57 +0100)]
[QEMU] Fix build on some distros (e.g., FC6T3).
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XM] Fix argument parsing for dump-core subcommand
atse@norwich.uk.xensource.com [Sat, 23 Sep 2006 12:39:32 +0000 (13:39 +0100)]
[XM] Fix argument parsing for dump-core subcommand

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Signed-off-by: Alastair Tse <atse@xensource.com>
19 years ago[HVM] A few cleanups to i8259.c -- in particular change
kaf24@firebug.cl.cam.ac.uk [Sat, 23 Sep 2006 11:39:18 +0000 (12:39 +0100)]
[HVM] A few cleanups to i8259.c -- in particular change
ELCR semantics (should not be modified by PIC reset).

This effectively removes Steve Smith's changeset
11586:08a582a98471da30fb86bca620495f3d91d55800
but the real bug here is not that the ELCR was reset to
zero, but that it was touched at all.

Our BIOS code should set the ELCR correctly (level-triggered)
for PCI IRQs.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[HVM][VNC] Make sure that the vnc viewer gets the right resolution when it
Steven Smith [Fri, 22 Sep 2006 19:20:57 +0000 (20:20 +0100)]
[HVM][VNC] Make sure that the vnc viewer gets the right resolution when it
connects.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
19 years agoMerge.
Steven Smith [Fri, 22 Sep 2006 16:59:02 +0000 (17:59 +0100)]
Merge.

19 years ago[XM][ACM] Add try,catch back to main() for dry-run
atse@norwich.uk.xensource.com [Fri, 22 Sep 2006 16:46:32 +0000 (17:46 +0100)]
[XM][ACM] Add try,catch back to main() for dry-run

Signed-off-by: Alastair Tse <atse@xensource.com>
Signed-off-by: Bryan D. Payne <bryan@thepaynes.cc>
19 years agoMerge.
Steven Smith [Fri, 22 Sep 2006 16:22:18 +0000 (17:22 +0100)]
Merge.

19 years ago[XEN][HVM] Initialise the ELCR so that all interrupts are in level triggered
Steven Smith [Fri, 22 Sep 2006 16:21:52 +0000 (17:21 +0100)]
[XEN][HVM] Initialise the ELCR so that all interrupts are in level triggered
mode after pic_reset, since that seems to be what Linux expects.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
19 years ago[XM] Move 'xm sysrq' into main.py
atse@norwich.uk.xensource.com [Fri, 22 Sep 2006 15:32:30 +0000 (16:32 +0100)]
[XM] Move 'xm sysrq' into main.py

* There's not need for sysrq to be in its own file.
* Bonus advantage: can use arg_check rather than gopts for argument
  validation.

Signed-off-by: Alastair Tse <atse@xensource.com>
19 years ago[XEND] Do not attempt core dump to directories.
atse@norwich.uk.xensource.com [Fri, 22 Sep 2006 15:20:36 +0000 (16:20 +0100)]
[XEND] Do not attempt core dump to directories.

- Abort core dump if destination is a directory.
- Throw appropriate XendError expection on failure.
Reported by Masaki Kanno <kanno.masaki@jp.fujitsu.com>.

Signed-off-by: Alastair Tse <atse@xensource.com>
19 years ago[XEND] Remove hard tabs from destroyDevice()
atse@norwich.uk.xensource.com [Fri, 22 Sep 2006 14:56:19 +0000 (15:56 +0100)]
[XEND] Remove hard tabs from destroyDevice()
Reported by Hollis Blanchard.

Signed-off-by: Alastair Tse <atse@xensource.com>
19 years ago[XEND] Check for invalid memory sizes.
atse@norwich.uk.xensource.com [Fri, 22 Sep 2006 14:36:11 +0000 (15:36 +0100)]
[XEND] Check for invalid memory sizes.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
19 years ago[XM] Text wrapping fix, xm create --help_config fix.
atse@norwich.uk.xensource.com [Fri, 22 Sep 2006 14:06:00 +0000 (15:06 +0100)]
[XM] Text wrapping fix, xm create --help_config fix.

* Fix text wrap so it doesn't chop off last word in help message for
  certain cases.
* Fix handling of xm create --help_config
* Remove redundant gopts.usage() call.

Signed-off-by: Alastair Tse <atse@xensource.com>
19 years agoAdd mmio emulation of opcodes 0x3A and 0x85 for SMP W2K3 installation.
Steven Hand [Fri, 22 Sep 2006 13:57:19 +0000 (14:57 +0100)]
Add mmio emulation of opcodes 0x3A and 0x85 for SMP W2K3 installation.

Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Steven Hand <steven@xensource.com>
19 years agoRevert default debug on cset 11576:4a3d9fa6ba24.
Steven Hand [Fri, 22 Sep 2006 13:55:11 +0000 (14:55 +0100)]
Revert default debug on cset 11576:4a3d9fa6ba24.

Signed-off-by: Steven Hand <steven@xensource.com>
19 years agomerge
kfraser@localhost.localdomain [Fri, 22 Sep 2006 12:06:20 +0000 (13:06 +0100)]
merge

19 years agomerge
kfraser@localhost.localdomain [Fri, 22 Sep 2006 12:06:05 +0000 (13:06 +0100)]
merge

19 years ago[XEN][ Remove unused declarations.
kfraser@localhost.localdomain [Fri, 22 Sep 2006 12:05:40 +0000 (13:05 +0100)]
[XEN][ Remove unused declarations.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoThis patch fixes an error booting 32bit vista on VMX.
Steven Hand [Fri, 22 Sep 2006 11:27:28 +0000 (12:27 +0100)]
This patch fixes an error booting 32bit vista on VMX.

The shadow code uses hvm_get_guest_ctrl_reg(v, 4) to test whether
PAE is enabled or not.  But it is not always right if the hypervisor
calls hvm_get_guest_ctrl_reg(v, 4) between vmxassist_invoke and
vmxassist_restore

The patch uses the d->arch.hvm_vmx.cpu_state to test if the PAE is
enabled.

Also update SVM code to use the new 'pae_enabled' hvm func.

Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
Signed-off-by: Steven Hand <steven@xensource.com>
19 years agoFix vmxassist to boot Vista.
Steven Hand [Fri, 22 Sep 2006 11:14:22 +0000 (12:14 +0100)]
Fix vmxassist to boot Vista.

Currently, guest_linear_to_real to_real() in vmxassist assumes guest HVM
use 2 level page table when entering protect mode with PG enabled. Vista
uses 3 level (PAE enabled) page table, so memory addressing is wrong.
This patch fixes it, by considering all 4 possible cases.

Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
19 years ago[XM] Error handling cleanup
atse@norwich.uk.xensource.com [Fri, 22 Sep 2006 10:37:31 +0000 (11:37 +0100)]
[XM] Error handling cleanup

Introducing an OptionError exception to be used by all xm subcommands
to signal an error in the arguments. "xm" will catch these and output
the appropriate error and usage message.

Detailed Changes:

main.py:
 *  Cleaned up imports and moved warning filter outside of
    import block.
 *  Converted usage parameters and description to a python
    dict rather than strings to enable better usage help
    formatting.
 *  Removed unused list_label domain command.
 *  Added cmdHelp() prints out usage message for any command
 *  Added shortHelp() prints out the default help message when
    xm is invoked with no arguments.
 *  Added longHelp() prints out long help message when invoked
    with xm --help or xm help.
 *  Added extra optional paramter to getDomains() so we can
    tell Xend not to poll devices. This will speed up xm list.
    (PENDING changes to Xend itself.)
 *  Changed all references where 'dom' actually means 'domid'
    to use the correct name.
 *  Changed 'xm list' header format to use printf formatting style.
 *  Renamed xm_subcommand to xm_importcommand so it is more
    clear what it is doing (all xm commands are subcommands!)
 *  Moved cpu_make_map() inside xm_vcpu_pin as an anonymous func.
 *  Use OptionError whenever an invalid option is detected in xm.
 *  Added proper catch and error printing for XendError and
    OptionErrors in main().

addlabel.py:
cfgbootpolicy.py:
dry-run.py:
dump-policy.py:
get-label.py:
labels.py:
loadpolicy.py:
makepolicy.py:
rmlabel.py:
resources.py:
 *  Replaced usage() with help() that is called from main.py
 *  Replaced usage() invokation with raising OptionError

opts.py:
 *  Added very simple wrap() function that behaves differently
    to textwrap.wrap()
 *  Added OptionError()
 *  Replaced the string representation of Opt, Opts to output
    a nicely formatted usage message.
 *  Changed class Opts itself will throw approriate OptionErrors.
 *  Changed set_bool to recognise 'y' and 'n' as valid input

create.py:
 *  Some whitespace and column width cleanup.
 *  throws OptionError if encounters option error.

migrate.py:
 *  Replace usage() message with the string representation of
    gopts.

sysrq.py:
 * Replace usage message with throwing OptionErrors

Signed-off-by: Alastair Tse <atse@xensource.com>
19 years ago[HVM][VMX] Clean up and audit VMX uses of instruction-length
kfraser@localhost.localdomain [Fri, 22 Sep 2006 10:33:03 +0000 (11:33 +0100)]
[HVM][VMX] Clean up and audit VMX uses of instruction-length
info field. Todo: use by mmio decoder needs to be removed.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[HVM][VNC] Fix bug in the VNC copyrect implementation which crept in
Steven Smith [Fri, 22 Sep 2006 08:12:00 +0000 (09:12 +0100)]
[HVM][VNC] Fix bug in the VNC copyrect implementation which crept in
with the update backoff patch.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
19 years ago[XEN] Do not emulate user-mode updates to page tables.
kfraser@localhost.localdomain [Thu, 21 Sep 2006 18:51:10 +0000 (19:51 +0100)]
[XEN] Do not emulate user-mode updates to page tables.
Instead use as a hint that the page is no longer a page table.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoMerge?
Christian Limpach [Thu, 21 Sep 2006 18:34:45 +0000 (19:34 +0100)]
Merge?

19 years ago[XEN] Fix domctl for changing VCPU affinity.
kfraser@localhost.localdomain [Thu, 21 Sep 2006 18:34:00 +0000 (19:34 +0100)]
[XEN] Fix domctl for changing VCPU affinity.

Now works for any VCPU, including the caller's VCPU.

By not synchronously pausing the affected VCPU we avoid
any risk of deadlock.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[qemu patches] Refresh.
Christian Limpach [Thu, 21 Sep 2006 18:33:51 +0000 (19:33 +0100)]
[qemu patches] Refresh.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu patches] Update patches for changeset 11562:449dcaff2551.
Christian Limpach [Thu, 21 Sep 2006 18:33:07 +0000 (19:33 +0100)]
[qemu patches] Update patches for changeset 11562:449dcaff2551.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu patches] Update patches for changeset 11561:c742b2ae920c.
Christian Limpach [Thu, 21 Sep 2006 18:28:35 +0000 (19:28 +0100)]
[qemu patches] Update patches for changeset 11561:c742b2ae920c.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu patches] Update patches for changeset 11554:39aaa54756db.
Christian Limpach [Thu, 21 Sep 2006 17:58:17 +0000 (18:58 +0100)]
[qemu patches] Update patches for changeset 11554:39aaa54756db.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[HVM][VNC] Add a backoff feature to the vnc server, so that if it detects
Steven Smith [Thu, 21 Sep 2006 17:29:48 +0000 (18:29 +0100)]
[HVM][VNC] Add a backoff feature to the vnc server, so that if it detects
that the display hasn't changed for a while it starts scanning more slowly.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
19 years ago[HVM] Reduce VNC overhead, by (a) only scanning framebuffer when a client
Steven Smith [Thu, 21 Sep 2006 16:56:14 +0000 (17:56 +0100)]
[HVM] Reduce VNC overhead, by (a) only scanning framebuffer when a client
is connected, and (b) fixing an overflow bug in the scanning code which
prevented the dirty bit from ever getting cleared.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
19 years agoMerge
Tim Deegan [Thu, 21 Sep 2006 14:04:29 +0000 (15:04 +0100)]
Merge

19 years ago[XEND] Don't prepend '/dev/' to any absolute path.
Tim Deegan [Thu, 21 Sep 2006 14:00:50 +0000 (15:00 +0100)]
[XEND] Don't prepend '/dev/' to any absolute path.
Check for '/' rather than '/dev/' when translating e.g. 'hda'->'/dev/hda'
Signed-off-by: Tim Deegan <tim.deegan@xensource.com>
19 years ago[XEND] split command-line arguments to the bootloader script properly.
Tim Deegan [Thu, 21 Sep 2006 13:58:01 +0000 (14:58 +0100)]
[XEND] split command-line arguments to the bootloader script properly.
Signed-off-by: Tim Deegan <tim.deegan@xensource.com>
19 years agoPygrub: add /var/lib/xen to the install tree.
Tim Deegan [Thu, 21 Sep 2006 13:56:28 +0000 (14:56 +0100)]
Pygrub: add /var/lib/xen to the install tree.
(Pygrub uses /var/lib/xen to store fifos and image files.)
Signed-off-by: Tim Deegan <tim.deegan@xensource.com>
19 years agoPygrub: stop the FS identification code from leaking open fds.
Tim Deegan [Thu, 21 Sep 2006 13:55:02 +0000 (14:55 +0100)]
Pygrub: stop the FS identification code from leaking open fds.
Signed-off-by: Tim Deegan <tim.deegn@xensource.com>
19 years agoThis patch adds value checking of sched-credit xm options.
Emmanuel Ackaouy [Thu, 21 Sep 2006 13:10:56 +0000 (14:10 +0100)]
This patch adds value checking of sched-credit xm options.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
19 years ago[tools] Increases some of the timeouts
Christian Limpach [Thu, 21 Sep 2006 12:53:49 +0000 (13:53 +0100)]
[tools] Increases some of the timeouts
since e.g. stealing the hotplug lock after five seconds is completely insane.

From: Steven Smith <sos22@cam.ac.uk>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu patches] Refresh qemu-pci patch without -p3.
Christian Limpach [Thu, 21 Sep 2006 10:33:38 +0000 (11:33 +0100)]
[qemu patches] Refresh qemu-pci patch without -p3.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[qemu patches] Update patches for changeset 11551:f872300b672f.
Christian Limpach [Thu, 21 Sep 2006 10:33:00 +0000 (11:33 +0100)]
[qemu patches] Update patches for changeset 11551:f872300b672f.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[HVM] Use the right, PCI SIG assigned, vendor ID for xensource rather than
Steven Smith [Thu, 21 Sep 2006 10:15:13 +0000 (11:15 +0100)]
[HVM] Use the right, PCI SIG assigned, vendor ID for xensource rather than
just making one up.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
19 years ago[XEN] Shadow mode no longer obtains page type references.
kfraser@localhost.localdomain [Thu, 21 Sep 2006 09:47:05 +0000 (10:47 +0100)]
[XEN] Shadow mode no longer obtains page type references.
This allows the shadow destructor hook in free_page_type()
to work properly.

Also, move mark_dirty() back to alloc/free_page_type(). It
doesn't matter that this happens before the type count is
modified -- bitmap is extracted by the tools with the domain
paused, so these non-blocking paths are atomic from p.o.v of
the tools.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[LINUX] Update pci-mmconfig patch to refer to machine_e820 map on Xen.
kfraser@localhost.localdomain [Thu, 21 Sep 2006 08:37:28 +0000 (09:37 +0100)]
[LINUX] Update pci-mmconfig patch to refer to machine_e820 map on Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[LINUX] Provide permanent global version of machine_e820 map for
kfraser@localhost.localdomain [Thu, 21 Sep 2006 08:37:03 +0000 (09:37 +0100)]
[LINUX] Provide permanent global version of machine_e820 map for
general use.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Move mark_dirty() from alloc_page_type() to get_page_type(),
kfraser@localhost.localdomain [Wed, 20 Sep 2006 17:41:44 +0000 (18:41 +0100)]
[XEN] Move mark_dirty() from alloc_page_type() to get_page_type(),
for symmetry with put_page_type(). Limit calls to mark_dirty() in
put_page_type() so that they happen only for page-table pages.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agomerge
Emmanuel Ackaouy [Wed, 20 Sep 2006 17:33:26 +0000 (18:33 +0100)]
merge

19 years agofix -xen x86_32 linux build
Emmanuel Ackaouy [Wed, 20 Sep 2006 17:32:54 +0000 (18:32 +0100)]
fix -xen x86_32 linux build
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
19 years ago[XEN] Trivial simplification.
kfraser@localhost.localdomain [Wed, 20 Sep 2006 16:59:30 +0000 (17:59 +0100)]
[XEN] Trivial simplification.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Clean up mark_dirty() usage in mm.c some more.
kfraser@localhost.localdomain [Wed, 20 Sep 2006 16:58:10 +0000 (17:58 +0100)]
[XEN] Clean up mark_dirty() usage in mm.c some more.
Add clarifying comments. Move mark_dirty() in alloc_page_type()
to end of the function (more correct).
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoSimplify + fix previous cset (remove_all_shadows() is indeed required :-)
Steven Hand [Wed, 20 Sep 2006 15:52:15 +0000 (16:52 +0100)]
Simplify + fix previous cset (remove_all_shadows() is indeed required :-)

Signed-off-by: Steven Hand <steven@xensource.com>
19 years agoEnsure page-table pin changes are noted in shadow log-dirty mode.
Steven Hand [Wed, 20 Sep 2006 15:22:06 +0000 (16:22 +0100)]
Ensure page-table pin changes are noted in shadow log-dirty mode.
Also mark dirty in put_page_type() instead of free_page_type()

Signed-off-by: Steven Hand <steven@xensource.com>
19 years ago[LINUX] Backport PCI MMCONFIG patch from 2.6.17 -- only use MMCONFIG
kfraser@localhost.localdomain [Wed, 20 Sep 2006 11:02:13 +0000 (12:02 +0100)]
[LINUX] Backport PCI MMCONFIG patch from 2.6.17 -- only use MMCONFIG
access method if the memory area is reserved in the E820 map.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN] Fix arg clobber test for debug version of hypercall code.
kfraser@localhost.localdomain [Wed, 20 Sep 2006 08:56:50 +0000 (09:56 +0100)]
[XEN] Fix arg clobber test for debug version of hypercall code.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN][X86_64] Remove hardcoded addresses in x86/64 boot assembly.
kfraser@localhost.localdomain [Wed, 20 Sep 2006 08:48:41 +0000 (09:48 +0100)]
[XEN][X86_64] Remove hardcoded addresses in x86/64 boot assembly.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
19 years ago[XEN] Upgrade some platform files to Linux 2.6.17.13.
kfraser@localhost.localdomain [Tue, 19 Sep 2006 15:33:01 +0000 (16:33 +0100)]
[XEN] Upgrade some platform files to Linux 2.6.17.13.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[linux patches] Update patches for linux-2.6.16.29.
Christian Limpach [Tue, 19 Sep 2006 13:26:47 +0000 (14:26 +0100)]
[linux patches] Update patches for linux-2.6.16.29.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
--HG--
rename : patches/linux-2.6.16.13/blktap-aio-16_03_06.patch => patches/linux-2.6.16.29/blktap-aio-16_03_06.patch
rename : patches/linux-2.6.16.13/device_bind.patch => patches/linux-2.6.16.29/device_bind.patch
rename : patches/linux-2.6.16.13/fix-hz-suspend.patch => patches/linux-2.6.16.29/fix-hz-suspend.patch
rename : patches/linux-2.6.16.13/fix-ide-cd-pio-mode.patch => patches/linux-2.6.16.29/fix-ide-cd-pio-mode.patch
rename : patches/linux-2.6.16.13/i386-mach-io-check-nmi.patch => patches/linux-2.6.16.29/i386-mach-io-check-nmi.patch
rename : patches/linux-2.6.16.13/ipv6-no-autoconf.patch => patches/linux-2.6.16.29/ipv6-no-autoconf.patch
rename : patches/linux-2.6.16.13/net-csum.patch => patches/linux-2.6.16.29/net-csum.patch
rename : patches/linux-2.6.16.13/net-gso-0-base.patch => patches/linux-2.6.16.29/net-gso-0-base.patch
rename : patches/linux-2.6.16.13/net-gso-1-check-dodgy.patch => patches/linux-2.6.16.29/net-gso-1-check-dodgy.patch
rename : patches/linux-2.6.16.13/net-gso-2-checksum-fix.patch => patches/linux-2.6.16.29/net-gso-2-checksum-fix.patch
rename : patches/linux-2.6.16.13/net-gso-3-fix-errorcheck.patch => patches/linux-2.6.16.29/net-gso-3-fix-errorcheck.patch
rename : patches/linux-2.6.16.13/net-gso-4-kill-warnon.patch => patches/linux-2.6.16.29/net-gso-4-kill-warnon.patch
rename : patches/linux-2.6.16.13/pmd-shared.patch => patches/linux-2.6.16.29/pmd-shared.patch
rename : patches/linux-2.6.16.13/rcu_needs_cpu.patch => patches/linux-2.6.16.29/rcu_needs_cpu.patch
rename : patches/linux-2.6.16.13/rename-TSS_sysenter_esp0-SYSENTER_stack_esp0.patch => patches/linux-2.6.16.29/rename-TSS_sysenter_esp0-SYSENTER_stack_esp0.patch
rename : patches/linux-2.6.16.13/series => patches/linux-2.6.16.29/series
rename : patches/linux-2.6.16.13/smp-alts.patch => patches/linux-2.6.16.29/smp-alts.patch
rename : patches/linux-2.6.16.13/tpm_plugin_2.6.17.patch => patches/linux-2.6.16.29/tpm_plugin_2.6.17.patch
rename : patches/linux-2.6.16.13/x86-elfnote-as-preprocessor-macro.patch => patches/linux-2.6.16.29/x86-elfnote-as-preprocessor-macro.patch
rename : patches/linux-2.6.16.13/x86-increase-interrupt-vector-range.patch => patches/linux-2.6.16.29/x86-increase-interrupt-vector-range.patch
rename : patches/linux-2.6.16.13/x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch => patches/linux-2.6.16.29/x86-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch
rename : patches/linux-2.6.16.13/x86_64-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch => patches/linux-2.6.16.29/x86_64-put-note-sections-into-a-pt_note-segment-in-vmlinux.patch
rename : patches/linux-2.6.16.13/xen-hotplug.patch => patches/linux-2.6.16.29/xen-hotplug.patch
rename : patches/linux-2.6.16.13/xenoprof-generic.patch => patches/linux-2.6.16.29/xenoprof-generic.patch

19 years ago[linux] Update to linux-2.6.16.29.
Christian Limpach [Tue, 19 Sep 2006 13:26:22 +0000 (14:26 +0100)]
[linux] Update to linux-2.6.16.29.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
19 years ago[XEN] Fix the emulation of instructions in vm86 mode. It fetches
kfraser@localhost.localdomain [Tue, 19 Sep 2006 10:13:10 +0000 (11:13 +0100)]
[XEN] Fix the emulation of instructions in vm86 mode. It fetches
them using cs and eip instead of only eip. This makes it at least
possible to use the i945GM vesa bios from the running system.

Signed-off-by: Bastian Blank <waldi@debian.org>
19 years ago[XENMON] Add argument check of "--ms_per_sample" option.
kfraser@localhost.localdomain [Tue, 19 Sep 2006 10:08:11 +0000 (11:08 +0100)]
[XENMON] Add argument check of "--ms_per_sample" option.

If a value of "--ms_per_sample" option is larger than a value of
"--time" option, xenmon may generate no log file. So, too large
"--ms_per_sample" should be treated as an error.

e.g.
  % xenmon.py --ms_per_sample=2000 -t 1 -n
  usage: xenmon.py [options]

  xenmon.py: error: option --ms_per_sample: too large (> 1000 ms)

# Notice that a unit of "--time" is a second.

Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
19 years ago[HVM][SVM] Add cr8 intercept to/from code for SVM.
kfraser@localhost.localdomain [Tue, 19 Sep 2006 10:03:36 +0000 (11:03 +0100)]
[HVM][SVM] Add cr8 intercept to/from code for SVM.
Add proper vlapic unmapping and freeing in the svm relinquish
resources.

Signed-off-by: Tom Woller <thomas.woller@amd.com>=20
19 years ago[HVM][SVM] This patch cleans up the SVM CPUID logic a bit, adds proper clearing
kfraser@localhost.localdomain [Tue, 19 Sep 2006 10:03:12 +0000 (11:03 +0100)]
[HVM][SVM] This patch cleans up the SVM CPUID logic a bit, adds proper clearing
of MCA/MCE bits, and also ties clearing the PAE bit with the NX bit. We
have seen issues with Solaris if the NX bit is set but the PAE bit is
not.

Signed-off-by: Tom Woller <thomas.woller@amd.com>=20
19 years ago[HVM] getmemlist hypercall returns pages in strict
kfraser@localhost.localdomain [Tue, 19 Sep 2006 10:01:05 +0000 (11:01 +0100)]
[HVM] getmemlist hypercall returns pages in strict
physmap order.
From: Ke Yu <ke.yu@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[XEN][X86_64] USe GLOBAL bit to build user mappings.
kfraser@localhost.localdomain [Tue, 19 Sep 2006 09:50:10 +0000 (10:50 +0100)]
[XEN][X86_64] USe GLOBAL bit to build user mappings.
Avoids need to flush user mappings when switching between
user and kernel contexts.
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoMerge with xenppc-unstable-merge.hg
kfraser@localhost.localdomain [Tue, 19 Sep 2006 08:40:26 +0000 (09:40 +0100)]
Merge with xenppc-unstable-merge.hg

19 years ago[POWERPC] merge with xen-unstable.hg
Hollis Blanchard [Mon, 18 Sep 2006 19:28:16 +0000 (14:28 -0500)]
[POWERPC] merge with xen-unstable.hg
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years agoClean up dom0_vga_console_info structure for v3.0.3.
kfraser@localhost.localdomain [Mon, 18 Sep 2006 17:17:54 +0000 (18:17 +0100)]
Clean up dom0_vga_console_info structure for v3.0.3.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoRevert 11475:11645dda144c3c8365dd2a6a64cb5a7d7da01170
kfraser@localhost.localdomain [Mon, 18 Sep 2006 13:25:26 +0000 (14:25 +0100)]
Revert 11475:11645dda144c3c8365dd2a6a64cb5a7d7da01170
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[POWERPC][XEN] Track the Hard CPUID as configured by the FW
Jimi Xenidis [Mon, 18 Sep 2006 13:23:51 +0000 (09:23 -0400)]
[POWERPC][XEN] Track the Hard CPUID as configured by the FW

This patch correctly implements and supports hard_smp_processor_id().

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[XEN] Remove backpointer info from page type info. No longer used.
kfraser@localhost.localdomain [Mon, 18 Sep 2006 13:15:03 +0000 (14:15 +0100)]
[XEN] Remove backpointer info from page type info. No longer used.
Replace with a flag for PAE final L2, needed for detecting PAE L2's
which contain Xen mappings.

This is a fixed version of 11438:965df40965e5fa684e0c8fe38dc4950af5b37c84

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[POWERPC][XEN] Fix definition of SCOMC register
Jimi Xenidis [Mon, 18 Sep 2006 12:14:46 +0000 (08:14 -0400)]
[POWERPC][XEN] Fix definition of SCOMC register
Fix some typos aroung machine check too.

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years agoRevert change to vtpm_utils related to skipping the test when the tpm is not
Ewan Mellor [Fri, 15 Sep 2006 22:54:04 +0000 (23:54 +0100)]
Revert change to vtpm_utils related to skipping the test when the tpm is not
found -- we need to skip the test on non-TPM platforms, of course.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years ago[POWERPC][XEN] Add newlines on multiline output and dump SLB on SLB errors
Jimi Xenidis [Fri, 15 Sep 2006 22:20:55 +0000 (18:20 -0400)]
[POWERPC][XEN] Add newlines on multiline output and dump SLB on SLB errors

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[POWERPC][XEN] Sync console around program exceptions
Jimi Xenidis [Fri, 15 Sep 2006 22:19:46 +0000 (18:19 -0400)]
[POWERPC][XEN] Sync console around program exceptions

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years agoAdding max block device timeout of 30 secs for live migrate.
jchesterfield@wicket.uk.xensource.com [Fri, 15 Sep 2006 17:48:24 +0000 (18:48 +0100)]
Adding max block device timeout of 30 secs for live migrate.

19 years ago[XEN] Scheduler pings only CPUs in a VCPU's affinity mask to balance load.
kaf24@firebug.cl.cam.ac.uk [Fri, 15 Sep 2006 10:17:26 +0000 (11:17 +0100)]
[XEN] Scheduler pings only CPUs in a VCPU's affinity mask to balance load.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[MINIOS] Fix to use new event-channel API properly.
kaf24@firebug.cl.cam.ac.uk [Fri, 15 Sep 2006 10:07:25 +0000 (11:07 +0100)]
[MINIOS] Fix to use new event-channel API properly.
Signed-off-by: Mark Williamson <mark.williamson@cl.cam.ac.uk>
19 years ago[HVM] Remove a useless header file include in hvm.c
kaf24@firebug.cl.cam.ac.uk [Fri, 15 Sep 2006 10:04:41 +0000 (11:04 +0100)]
[HVM] Remove a useless header file include in hvm.c
Signed-off-by: Xin Li <xin.b.li@intel.com>
19 years agoSmall fix for xenoprof.
kaf24@firebug.cl.cam.ac.uk [Fri, 15 Sep 2006 10:01:58 +0000 (11:01 +0100)]
Small fix for xenoprof.

Update list of privileged xenoprof operations which were not in sync
with new added functions.
Since the number of privileged operations is larger than the non
privileged ones, change the logic to list unprivileged ones instead.
Also added a few printk statements on failed xenoprof initialization
to identify the source of the problem.

Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com>
19 years ago[XEN] Fix array ngative accesses in figlet tool.
kaf24@firebug.cl.cam.ac.uk [Fri, 15 Sep 2006 09:59:18 +0000 (10:59 +0100)]
[XEN] Fix array ngative accesses in figlet tool.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[POWERPC][XEN] Fix infinite loop caused by hdec storm
Jimi Xenidis [Fri, 15 Sep 2006 02:06:15 +0000 (22:06 -0400)]
[POWERPC][XEN] Fix infinite loop caused by hdec storm

This was the cause of the periodic hang on secondary processors that has
been holding back the submission of the SMP patch.

Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[POWERPC][XEN] Clean up init_frame_table()
Jimi Xenidis [Thu, 14 Sep 2006 18:20:48 +0000 (14:20 -0400)]
[POWERPC][XEN] Clean up init_frame_table()

figure out its size correctly and remove unused global

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[XEN][POWERPC] Whitespace.
hollisb@localhost [Mon, 18 Sep 2006 18:21:39 +0000 (13:21 -0500)]
[XEN][POWERPC] Whitespace.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[XEN][POWERPC] Fix build break.
Hollis Blanchard [Thu, 14 Sep 2006 16:13:54 +0000 (11:13 -0500)]
[XEN][POWERPC] Fix build break.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[POWERPC][XEN] add ofd_strstr() that checks all strings from an OF property
Jimi Xenidis [Thu, 14 Sep 2006 15:11:00 +0000 (11:11 -0400)]
[POWERPC][XEN] add ofd_strstr() that checks all strings from an OF property

Some OF properties can have a list of '\0' terminated strings, we
frequently need to strstr against all of them.

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[XEN] Do not steal work from idle CPUs. This can happen
kaf24@firebug.cl.cam.ac.uk [Thu, 14 Sep 2006 15:01:46 +0000 (16:01 +0100)]
[XEN] Do not steal work from idle CPUs. This can happen
if a idle CPU is in the process of waking up.
This fix suggested by Anthony Xu <anthony.xu@intel.com> as
it can have a significant boost to HVM performance.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years ago[POWERPC][XEN] break out the ppc970.c functionality
Jimi Xenidis [Thu, 14 Sep 2006 14:20:16 +0000 (10:20 -0400)]
[POWERPC][XEN] break out the ppc970.c functionality

getting way to crowded in there.

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[POWERPC][XEN] Better explane the larx/stcx issue with interrupts
Jimi Xenidis [Thu, 14 Sep 2006 14:17:23 +0000 (10:17 -0400)]
[POWERPC][XEN] Better explane the larx/stcx issue with interrupts

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years agoIn this patch, the xc_domain_dumpcore_via_callback() in xc_core.c of
root@procyon [Thu, 14 Sep 2006 07:19:41 +0000 (08:19 +0100)]
In this patch, the xc_domain_dumpcore_via_callback() in xc_core.c of
libxc is modified. Previously, the xc_domain_dumpcore_via_callback()
did not respond to error when copy_from_domain_page() failed.
In other words, the dump core remained silent even if mapping the domain
memory failed and its page could not be copied. When this happened,
erroneous data had been dumped to the file without the user realizing it.
Now, it has been modified so that if copy_from_domain_page fails,
this fact is recorded in the logfile and make imcoplerte-list.
However even in such cases, the dumping will continue as before.

Signed-off-by: Ken Hironaka <hironaka.ken@soft.fujitsu.com>
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
19 years agoThis patch add localtime to dumpcore filename.
root@procyon [Thu, 14 Sep 2006 07:19:39 +0000 (08:19 +0100)]
This patch add localtime to dumpcore filename.
And it add '-imcomplete' if failed.

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
19 years agoxm dump command add on
root@procyon [Thu, 14 Sep 2006 07:19:38 +0000 (08:19 +0100)]
xm dump command add on

xm dump-core [-L|--live][-C| --crash] <domID> [output path]

-L| --live Live dump:
        By default, xm dump does an xm pause, unpause before and
        after taking the dump, respectively.  This option disables
        the pause/unpause and simply takes the dump.

-C :| --crash crash dump:
        This executes an xm destroy after the dump file is complete.

The output path is optional, and if it is not specified, the path will be
/var/xen/dump/<domU name>.<domU ID>.core

This command uses the existant dumpCore(), which has been used for
coredump when a domU crashed.

Signed-off-by: Ken Hironaka <hironaka.ken@soft.fujitsu.com>
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
19 years agoRemove the '-instance' parameter from the qemu device model. Since this parameter
Ewan Mellor [Thu, 14 Sep 2006 07:18:56 +0000 (08:18 +0100)]
Remove the '-instance' parameter from the qemu device model. Since this parameter
is not interpreted by the DM, it actually causes the DM to hang if
passed. Future device model support for the vTPM will read parameters
from the xenstore and won't need the command line parameter(s).
The patch includes a small change to the debugging output for the vTPM
module.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
19 years agoWhen redirecting the output of the echo command using '>' on bash, the
Ewan Mellor [Thu, 14 Sep 2006 06:57:41 +0000 (07:57 +0100)]
When redirecting the output of the echo command using '>' on bash, the
output seems to be broken up into multiple write()s (depending on the
version of busybox?). Unfortunately /dev/tpm0 needs to have the complete
command written to in one chunk. The work-around 'echo <string> > file ;
cat file > /dev/tpm0' seems to get around this problem.
The patch also removes a redundant test and error output.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
19 years agoThis patch adds syntax checking for "xm block-attach" command.
Ewan Mellor [Thu, 14 Sep 2006 06:55:28 +0000 (07:55 +0100)]
This patch adds syntax checking for "xm block-attach" command.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
19 years agoShow the usage message if invalid arguments are given to xm sysrq.
Ewan Mellor [Thu, 14 Sep 2006 06:55:27 +0000 (07:55 +0100)]
Show the usage message if invalid arguments are given to xm sysrq.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
19 years ago[POWERPC][XEN] Safety with foreign get_page() calls and RMA
Jimi Xenidis [Thu, 14 Sep 2006 05:41:13 +0000 (01:41 -0400)]
[POWERPC][XEN] Safety with foreign get_page() calls and RMA

The following patch deals with get_page() possibly failing for H_ENTER
on a foreign page and returning the correct error.  We also tag and
checke that a put_page() for RMA pages will panic (for now) if the
domain is _not_ dying.

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[POWERPC][XEN] Inline clear_page() and use DCBZ to optimize
Jimi Xenidis [Thu, 14 Sep 2006 05:36:39 +0000 (01:36 -0400)]
[POWERPC][XEN] Inline clear_page() and use DCBZ to optimize

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[POWERPC][XEN] Define all cache information globaly
Jimi Xenidis [Thu, 14 Sep 2006 05:12:26 +0000 (01:12 -0400)]
[POWERPC][XEN] Define all cache information globaly

Rather than use the config.h macro

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
19 years ago[POWERPC][XEN] Track pages correctly
Jimi Xenidis [Wed, 13 Sep 2006 22:41:11 +0000 (18:41 -0400)]
[POWERPC][XEN] Track pages correctly

The following patch tracks and frees pages correctly.  It solves the problem where a foreign mapping would zombie a domain because the refcnts remained.
This involved:
  - implement relinquish_memory() for PowerPC
  - remove free_rma() since all pages get "relinquished" now.
  - foreign pages are get and put correctly

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>